package com.example.bzh.gamecat.ui.message.innermessage;


import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ListView;
import android.widget.RelativeLayout;

import com.example.bzh.gamecat.R;
import com.example.bzh.gamecat.ui.message.innermessage.circle.CircleActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * A simple {@link Fragment} subclass.
 */
public class MessageInnerFragment extends Fragment {


    @BindView(R.id.lv_message_inner)
    ListView lvMessageInner;
    @BindView(R.id.rl_message_circle)
    RelativeLayout rlMessageCircle;

    public MessageInnerFragment() {

    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {

        View view = inflater.inflate(R.layout.fragment_message_inner, container, false);
        ButterKnife.bind(this, view);
        lvMessageInner.setAdapter(null);
        return view;
    }

    @OnClick(R.id.rl_message_circle)
    public void onClick() {
        startActivity(new Intent(getActivity(), CircleActivity.class));
    }
}
